$(document).ready(function(){

});

function ExecActionMante(type){
	paramet  = $("#dialog-form").find("select, textarea, input,hidden").serialize();
	st_stado = '1';
	//return false;
	$.ajax({
 		dataType: "html",
	 	type: "POST",
	 	url: jQuery.scriptPath +'index.php/Persona/executemante/',
	 	data: "type="+type+"&"+paramet+'&st_stado='+st_stado,
		beforeSend: function(data){

		},
		success: function(requestData){
	
			$("#result").html(requestData);
		},		
		error: function(requestData, strError, strTipoError){											
			$("#result").html("Error " + strTipoError +": " + strError);
		}
	});
}
